<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Turtle DB: ca.uqac.dim.ddb.XmlQueryParser Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>


</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Turtle DB
   
   </div>
   <div id="projectbrief">A mini DDBMS</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Packages</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('classca_1_1uqac_1_1dim_1_1ddb_1_1_xml_query_parser.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pro-static-methods">Static Protected Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">ca.uqac.dim.ddb.XmlQueryParser Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<!-- doxytag: class="ca::uqac::dim::ddb::XmlQueryParser" -->
<p><a href="classca_1_1uqac_1_1dim_1_1ddb_1_1_xml_query_parser-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><b>ParseException</b></td></tr>
<tr><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_relation.html">Relation</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_xml_query_parser.html#a0cae63e6c863aca9227abf83fa46aa6f">parse</a> (String s)  throws XmlQueryParser.ParseException   </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_relation.html">Relation</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_xml_query_parser.html#a5f3e8104d6e8caa093cce69cfa5929e4">parse</a> (Document doc)  throws XmlQueryParser.ParseException   </td></tr>
<tr><td colspan="2"><h2><a name="pro-static-methods"></a>
Static Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_relation.html">Relation</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_xml_query_parser.html#a6b3083a0cd0d6d1bff6bf5c944201f1b">parse</a> (Node e)  throws XmlQueryParser.ParseException   </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_relation.html">Relation</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_xml_query_parser.html#afc4140d9448cfbf276bd76e5e0588159">parseSelection</a> (Node e)  throws XmlQueryParser.ParseException   </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_relation.html">Relation</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_xml_query_parser.html#a9713e988d514b77a2f9d5d265d1a7926">parseProjection</a> (Node e)  throws XmlQueryParser.ParseException   </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_relation.html">Relation</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_xml_query_parser.html#ad636c0ef1fb6e94a0a16aba8bedc4974">parseUnion</a> (Node e)  throws XmlQueryParser.ParseException   </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_relation.html">Relation</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_xml_query_parser.html#a7e89455d2e6d6fef694351fbc095ffa7">parseIntersection</a> (Node e)  throws XmlQueryParser.ParseException   </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_condition.html">Condition</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_xml_query_parser.html#aa45ddf8f5216f32fcdac95ba5ffe0eb8">parseCondition</a> (Node e)  throws XmlQueryParser.ParseException   </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_equality.html">Equality</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_xml_query_parser.html#a9911d304a9db4c858e383f1ae0e23956">parseEquality</a> (Node e)  throws XmlQueryParser.ParseException   </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_attribute.html">Attribute</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_xml_query_parser.html#a07049baa0c5fa909ca3dcaefd1a153ca">parseAttribute</a> (Node e)  throws XmlQueryParser.ParseException   </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_variable_table.html">VariableTable</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_xml_query_parser.html#a9db03b0f65772431f92c644fe7d21e0e">parseVariableTable</a> (Node e)  throws XmlQueryParser.ParseException   </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_table.html">Table</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_xml_query_parser.html#abc1dcdc25f9f88db253eecf2669163bc">parseTable</a> (Node e)  throws XmlQueryParser.ParseException   </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_value.html">Value</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_xml_query_parser.html#a7f7b9d4163962199a41154e29d45dcc5">parseValue</a> (Node e)  throws XmlQueryParser.ParseException   </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_tuple.html">Tuple</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_xml_query_parser.html#a32c9fb0b0644e51afdf9f0e34262d70f">parseTuple</a> (Node e)  throws XmlQueryParser.ParseException   </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_schema.html">Schema</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_xml_query_parser.html#a423d73b21a94982ffaf6bbb6e869e033">parseSchema</a> (Node e)  throws XmlQueryParser.ParseException   </td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Facilities to build relational queries from an XML representation. The <a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_xml_query_parser.html">XmlQueryParser</a> works in pair with the <a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_xml_query_formatter.html">XmlQueryFormatter</a>; more precisely, for any <a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_relation.html">Relation</a> <code>r</code>, we should have that <code> <a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_xml_query_parser.html#a0cae63e6c863aca9227abf83fa46aa6f">XmlQueryParser.parse</a>(XmlQueryFormatter.toXmlDocument(r)) == r </code> </p>
<dl class="author"><dt><b>Author:</b></dt><dd>sylvain </dd></dl>
</div><hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a0cae63e6c863aca9227abf83fa46aa6f"></a><!-- doxytag: member="ca::uqac::dim::ddb::XmlQueryParser::parse" ref="a0cae63e6c863aca9227abf83fa46aa6f" args="(String s)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_relation.html">Relation</a> <a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_xml_query_parser.html#a0cae63e6c863aca9227abf83fa46aa6f">ca.uqac.dim.ddb.XmlQueryParser.parse</a> </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>s</em></td><td>)</td>
          <td>  throws XmlQueryParser.ParseException   <code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Builds a query from a string </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">s</td><td>A string containing an XML representation of the query </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The query </dd></dl>

</div>
</div>
<a class="anchor" id="a5f3e8104d6e8caa093cce69cfa5929e4"></a><!-- doxytag: member="ca::uqac::dim::ddb::XmlQueryParser::parse" ref="a5f3e8104d6e8caa093cce69cfa5929e4" args="(Document doc)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_relation.html">Relation</a> <a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_xml_query_parser.html#a0cae63e6c863aca9227abf83fa46aa6f">ca.uqac.dim.ddb.XmlQueryParser.parse</a> </td>
          <td>(</td>
          <td class="paramtype">Document&#160;</td>
          <td class="paramname"><em>doc</em></td><td>)</td>
          <td>  throws XmlQueryParser.ParseException   <code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Builds a query from a DOM document </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">s</td><td>A DOM document containing an XML representation of the query </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The query </dd></dl>

</div>
</div>
<a class="anchor" id="a6b3083a0cd0d6d1bff6bf5c944201f1b"></a><!-- doxytag: member="ca::uqac::dim::ddb::XmlQueryParser::parse" ref="a6b3083a0cd0d6d1bff6bf5c944201f1b" args="(Node e)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_relation.html">Relation</a> <a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_xml_query_parser.html#a0cae63e6c863aca9227abf83fa46aa6f">ca.uqac.dim.ddb.XmlQueryParser.parse</a> </td>
          <td>(</td>
          <td class="paramtype">Node&#160;</td>
          <td class="paramname"><em>e</em></td><td>)</td>
          <td>  throws XmlQueryParser.ParseException   <code> [static, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Parse an operand. XML syntax: </p>
<pre>
 &lt;operand&gt;
   &lt;x&gt;&lt;/x&gt;
 &lt;/operand&gt;
 </pre><p> where <code>x</code> is either <code>intersection</code>, <code>union</code>, <code>selection</code>, <code>projection</code> or <code><code>table</code>. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">e</td><td>An XML DOM node </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd></dd></dl>
<p></code></p>

</div>
</div>
<a class="anchor" id="a07049baa0c5fa909ca3dcaefd1a153ca"></a><!-- doxytag: member="ca::uqac::dim::ddb::XmlQueryParser::parseAttribute" ref="a07049baa0c5fa909ca3dcaefd1a153ca" args="(Node e)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_attribute.html">Attribute</a> <a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_xml_query_parser.html#a07049baa0c5fa909ca3dcaefd1a153ca">ca.uqac.dim.ddb.XmlQueryParser.parseAttribute</a> </td>
          <td>(</td>
          <td class="paramtype">Node&#160;</td>
          <td class="paramname"><em>e</em></td><td>)</td>
          <td>  throws XmlQueryParser.ParseException   <code> [static, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Parse an attribute. XML syntax: </p>
<pre>
 &lt;attribute&gt;<em>name</em>&lt;/attribute&gt;
 </pre> <dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">e</td><td>An XML DOM node </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="aa45ddf8f5216f32fcdac95ba5ffe0eb8"></a><!-- doxytag: member="ca::uqac::dim::ddb::XmlQueryParser::parseCondition" ref="aa45ddf8f5216f32fcdac95ba5ffe0eb8" args="(Node e)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_condition.html">Condition</a> <a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_xml_query_parser.html#aa45ddf8f5216f32fcdac95ba5ffe0eb8">ca.uqac.dim.ddb.XmlQueryParser.parseCondition</a> </td>
          <td>(</td>
          <td class="paramtype">Node&#160;</td>
          <td class="paramname"><em>e</em></td><td>)</td>
          <td>  throws XmlQueryParser.ParseException   <code> [static, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Parse an equality. XML syntax: </p>
<pre>
 &lt;condition&gt;
   &lt;x&gt;&lt;/x&gt;
 &lt;/condition&gt;
 </pre><p> where <code>x</code> is <code>equals</code> (no other conditions implemented at the moment). </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">e</td><td>An XML DOM node </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="a9911d304a9db4c858e383f1ae0e23956"></a><!-- doxytag: member="ca::uqac::dim::ddb::XmlQueryParser::parseEquality" ref="a9911d304a9db4c858e383f1ae0e23956" args="(Node e)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_equality.html">Equality</a> <a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_xml_query_parser.html#a9911d304a9db4c858e383f1ae0e23956">ca.uqac.dim.ddb.XmlQueryParser.parseEquality</a> </td>
          <td>(</td>
          <td class="paramtype">Node&#160;</td>
          <td class="paramname"><em>e</em></td><td>)</td>
          <td>  throws XmlQueryParser.ParseException   <code> [static, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Parse an equality. XML syntax: </p>
<pre>
 &lt;equals&gt;
   &lt;x&gt;&lt;/x&gt;
   &lt;y&gt;&lt;/y&gt;
 &lt;/equals&gt;
 </pre><p> where <code>x</code> and <code>y</code> are either <code>attribute</code> or <code>value</code> </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">e</td><td>An XML DOM node </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="a7e89455d2e6d6fef694351fbc095ffa7"></a><!-- doxytag: member="ca::uqac::dim::ddb::XmlQueryParser::parseIntersection" ref="a7e89455d2e6d6fef694351fbc095ffa7" args="(Node e)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_relation.html">Relation</a> <a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_xml_query_parser.html#a7e89455d2e6d6fef694351fbc095ffa7">ca.uqac.dim.ddb.XmlQueryParser.parseIntersection</a> </td>
          <td>(</td>
          <td class="paramtype">Node&#160;</td>
          <td class="paramname"><em>e</em></td><td>)</td>
          <td>  throws XmlQueryParser.ParseException   <code> [static, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Parse an intersection. XML syntax: </p>
<pre>
 &lt;intersection&gt;
   &lt;operand&gt;&lt;/operand&gt;
   &lt;operand&gt;&lt;/operand&gt;
   
 &lt;/intersection&gt;
 </pre> <dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">e</td><td>An XML DOM node </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="a9713e988d514b77a2f9d5d265d1a7926"></a><!-- doxytag: member="ca::uqac::dim::ddb::XmlQueryParser::parseProjection" ref="a9713e988d514b77a2f9d5d265d1a7926" args="(Node e)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_relation.html">Relation</a> <a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_xml_query_parser.html#a9713e988d514b77a2f9d5d265d1a7926">ca.uqac.dim.ddb.XmlQueryParser.parseProjection</a> </td>
          <td>(</td>
          <td class="paramtype">Node&#160;</td>
          <td class="paramname"><em>e</em></td><td>)</td>
          <td>  throws XmlQueryParser.ParseException   <code> [static, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Parse a projection. XML syntax: </p>
<pre>
 &lt;projection&gt;
   &lt;schema&gt;&lt;/schema&gt;
   &lt;operand&gt;&lt;/operand&gt;
 &lt;/projection&gt;
 </pre> <dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">e</td><td>An XML DOM node </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="a423d73b21a94982ffaf6bbb6e869e033"></a><!-- doxytag: member="ca::uqac::dim::ddb::XmlQueryParser::parseSchema" ref="a423d73b21a94982ffaf6bbb6e869e033" args="(Node e)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_schema.html">Schema</a> <a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_xml_query_parser.html#a423d73b21a94982ffaf6bbb6e869e033">ca.uqac.dim.ddb.XmlQueryParser.parseSchema</a> </td>
          <td>(</td>
          <td class="paramtype">Node&#160;</td>
          <td class="paramname"><em>e</em></td><td>)</td>
          <td>  throws XmlQueryParser.ParseException   <code> [static, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Parse a schema. XML syntax: </p>
<pre>
 &lt;schema&gt;
   &lt;attribute&gt;&lt;/attribute&gt;
   &lt;attribute&gt;&lt;/attribute&gt;
   
 &lt;/schema&gt;
 </pre> <dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">e</td><td>An XML DOM node </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="afc4140d9448cfbf276bd76e5e0588159"></a><!-- doxytag: member="ca::uqac::dim::ddb::XmlQueryParser::parseSelection" ref="afc4140d9448cfbf276bd76e5e0588159" args="(Node e)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_relation.html">Relation</a> <a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_xml_query_parser.html#afc4140d9448cfbf276bd76e5e0588159">ca.uqac.dim.ddb.XmlQueryParser.parseSelection</a> </td>
          <td>(</td>
          <td class="paramtype">Node&#160;</td>
          <td class="paramname"><em>e</em></td><td>)</td>
          <td>  throws XmlQueryParser.ParseException   <code> [static, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Parse a selection. XML syntax: </p>
<pre>
 &lt;projection&gt;
   &lt;condition&gt;&lt;/condition&gt;
   &lt;operand&gt;&lt;/operand&gt;
 &lt;/projection&gt;
 </pre> <dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">e</td><td>An XML DOM node </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="abc1dcdc25f9f88db253eecf2669163bc"></a><!-- doxytag: member="ca::uqac::dim::ddb::XmlQueryParser::parseTable" ref="abc1dcdc25f9f88db253eecf2669163bc" args="(Node e)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_table.html">Table</a> <a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_xml_query_parser.html#abc1dcdc25f9f88db253eecf2669163bc">ca.uqac.dim.ddb.XmlQueryParser.parseTable</a> </td>
          <td>(</td>
          <td class="paramtype">Node&#160;</td>
          <td class="paramname"><em>e</em></td><td>)</td>
          <td>  throws XmlQueryParser.ParseException   <code> [static, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Parse a table. XML syntax: </p>
<pre>
 &lt;table&gt;<em>name</em>&lt;/table&gt;
 </pre> <dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">e</td><td>An XML DOM node </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="a32c9fb0b0644e51afdf9f0e34262d70f"></a><!-- doxytag: member="ca::uqac::dim::ddb::XmlQueryParser::parseTuple" ref="a32c9fb0b0644e51afdf9f0e34262d70f" args="(Node e)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_tuple.html">Tuple</a> <a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_xml_query_parser.html#a32c9fb0b0644e51afdf9f0e34262d70f">ca.uqac.dim.ddb.XmlQueryParser.parseTuple</a> </td>
          <td>(</td>
          <td class="paramtype">Node&#160;</td>
          <td class="paramname"><em>e</em></td><td>)</td>
          <td>  throws XmlQueryParser.ParseException   <code> [static, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Parse a table tuple. XML syntax: </p>
<pre>
 &lt;tuple&gt;
   &lt;attr&gt;<em>value</em>&lt;/attr&gt;
   &lt;attr&gt;<em>value</em>&lt;/attr&gt;
   
 &lt;/tuple&gt;
 </pre> <dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">e</td><td>An XML DOM node </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="ad636c0ef1fb6e94a0a16aba8bedc4974"></a><!-- doxytag: member="ca::uqac::dim::ddb::XmlQueryParser::parseUnion" ref="ad636c0ef1fb6e94a0a16aba8bedc4974" args="(Node e)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_relation.html">Relation</a> <a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_xml_query_parser.html#ad636c0ef1fb6e94a0a16aba8bedc4974">ca.uqac.dim.ddb.XmlQueryParser.parseUnion</a> </td>
          <td>(</td>
          <td class="paramtype">Node&#160;</td>
          <td class="paramname"><em>e</em></td><td>)</td>
          <td>  throws XmlQueryParser.ParseException   <code> [static, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Parse a union. XML syntax: </p>
<pre>
 &lt;union&gt;
   &lt;operand&gt;&lt;/operand&gt;
   &lt;operand&gt;&lt;/operand&gt;
   
 &lt;/union&gt;
 </pre> <dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">e</td><td>An XML DOM node </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="a7f7b9d4163962199a41154e29d45dcc5"></a><!-- doxytag: member="ca::uqac::dim::ddb::XmlQueryParser::parseValue" ref="a7f7b9d4163962199a41154e29d45dcc5" args="(Node e)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_value.html">Value</a> <a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_xml_query_parser.html#a7f7b9d4163962199a41154e29d45dcc5">ca.uqac.dim.ddb.XmlQueryParser.parseValue</a> </td>
          <td>(</td>
          <td class="paramtype">Node&#160;</td>
          <td class="paramname"><em>e</em></td><td>)</td>
          <td>  throws XmlQueryParser.ParseException   <code> [static, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Parse a value. XML syntax: </p>
<pre>
 &lt;value&gt;<em>name</em>&lt;/value&gt;
 </pre> <dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">e</td><td>An XML DOM node </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="a9db03b0f65772431f92c644fe7d21e0e"></a><!-- doxytag: member="ca::uqac::dim::ddb::XmlQueryParser::parseVariableTable" ref="a9db03b0f65772431f92c644fe7d21e0e" args="(Node e)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_variable_table.html">VariableTable</a> <a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_xml_query_parser.html#a9db03b0f65772431f92c644fe7d21e0e">ca.uqac.dim.ddb.XmlQueryParser.parseVariableTable</a> </td>
          <td>(</td>
          <td class="paramtype">Node&#160;</td>
          <td class="paramname"><em>e</em></td><td>)</td>
          <td>  throws XmlQueryParser.ParseException   <code> [static, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Parse a table. XML syntax: </p>
<pre>
 &lt;table&gt;<em>name</em>&lt;/table&gt;
 </pre> <dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">e</td><td>An XML DOM node </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd></dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>Engin/src/ca/uqac/dim/ddb/<a class="el" href="_xml_query_parser_8java.html">XmlQueryParser.java</a></li>
</ul>
</div><!-- contents -->
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespaceca.html">ca</a>      </li>
      <li class="navelem"><a class="el" href="namespaceca_1_1uqac.html">uqac</a>      </li>
      <li class="navelem"><a class="el" href="namespaceca_1_1uqac_1_1dim.html">dim</a>      </li>
      <li class="navelem"><a class="el" href="namespaceca_1_1uqac_1_1dim_1_1ddb.html">ddb</a>      </li>
      <li class="navelem"><a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_xml_query_parser.html">XmlQueryParser</a>      </li>

    <li class="footer">Generated on Thu Aug 30 2012 12:03:10 for Turtle DB by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.6.1 </li>
   </ul>
 </div>


</body>
</html>
